package com.mdinfo.gw.door.bean

import com.baomidou.mybatisplus.activerecord.Model
import com.baomidou.mybatisplus.annotations.TableName
import java.io.Serializable
import java.util.*

/**
 * Created by Administrator on 2018/2/6.
 * 开放时间
 */
@TableName("door_open_time")
class DoorOpenTime(
        var id:Int? = null,
        var name:String? = null,        //名称
        var endDate: Date? = null,      //过期时间
        var startTime:String? = null,   //开始时间段
        var endTime:String? = null,     //结束时间段
        var weekday:String? = null,     //星期
        var createTime:Date? = null,    //创建日期
        var opMode:Int? = null,          //模式

        var deptId:Int? = null,         //部门id
        var doorId:Int? = null,         //门id
        var accessId:Int? = null,       //门禁id
        var orderNum:Int? = null,       //开放时间序号
        var doorOrderNum:Int? = null         //门在门禁中的序号

) : Model<DoorOpenTime>(){
    override fun pkVal(): Serializable {
        return this.id!!
    }
}